package com.sakila.service.impl;

import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.sakila.dao.CategoryDao;
import com.sakila.pojo.Category;
import com.sakila.service.CategoryService;

@Service
public class CategoryServiceImpl extends BaseServiceImpl<Category> implements CategoryService {
	@Resource
	private CategoryDao categoryDao;
	
	public List<Category> findAll() {
		return categoryDao.findAll(null);
	}
}
